package com.tiger.cloud.model.system;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.tiger.cloud.common.mybatis.TigerAdminBaseEntity;

import io.swagger.annotations.ApiModelProperty;

public class SysUser extends TigerAdminBaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 性别：1男0女
	 */
	@ApiModelProperty(value = "性别",example = "1",notes="性别：1男0女")
    private Integer gender;
	/**
	 * 外键，所属部门Id
	 */
	@ApiModelProperty(value = "性别",example = "1",notes="外键，所属部门Id")
    private String departmentId;
	/**
	 * 最后更新时间
	 */
    private Date updateDate;
	/**
	 * 是否删除：1是0否
	 */
    private Integer status;
    
    
    private Integer type;
	/**
	 * 是否管理员：1是0否
	 */
    private String phone;
	/**
	 * 登录密码
	 */
    @JsonIgnore
    private String password;
	/**
	 * 最后更新人
	 */
    private String updateUser;
	 
    private String image;
	/**
	 * 姓名
	 */
    private String fullname;
	/**
	 * 记录生成人
	 */
    private String createUser;
	/**
	 * 记录生成时间
	 */
    private Date createDate;
	/**
	 * 登录用户名
	 */
    private String username;
    
    private String dept;
    /**
   	 * 所属企业
   	 */
    private String enterpriseId;
    
    private String enterprise;
    
    private String roleIds;
    
    private String roles;
    
    private String createUsername;
    
    private String updateUsername;
    
    private String idCard;
    
    public SysUser(){}
    
    public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}



	public String getCreateUsername() {
		return createUsername;
	}

	public void setCreateUsername(String createUsername) {
		this.createUsername = createUsername;
	}

	public String getUpdateUsername() {
		return updateUsername;
	}

	public void setUpdateUsername(String updateUsername) {
		this.updateUsername = updateUsername;
	}

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(String enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public String getRoles() {
		return roles;
	}

	public void setRoles(String roles) {
		this.roles = roles;
	}

	public Integer getGender() {
        return this.gender;
    }
    
    public void setGender(Integer gender) {
        this.gender = gender;
    }
    public String getDepartmentId() {
        return this.departmentId;
    }
    
    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }
    public Date getUpdateDate() {
        return this.updateDate;
    }
    
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer isDelete) {
        this.status = isDelete;
    }
    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public String getImage() {
        return this.image;
    }
    
    public void setImage(String isLock) {
        this.image = isLock;
    }
    public String getFullname() {
        return this.fullname;
    }
    
    public void setFullname(String fullname) {
        this.fullname = fullname;
    }
    public String getCreateUser() {
        return this.createUser;
    }
    
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}